

loop{
    IfWinNotExist,moni1.bat
	{
	return	
	
	}

	IfWinNotExist,mainJavaProces_monitor
	{
	;  WinActivate ,mainJavaProces_monitor
	
	Run ,    %A_ScriptDir%/mainJavaProces_monitor.bat.lnk
		 
	}
	
	;--------------auto close office process bat
	
	
	
	
	;--------------moni2 
	 IfWinNotExist,moni2.bat
	{
	Run ,    %A_ScriptDir%/moni2.bat.lnk
	
	}


	 
	Sleep, 3000
 


 
}